class Test {

	public static void main(String[] args) {
//2 dimensonal array
		int row = 3;
		int col = 3;
		System.out.println("Two dimensonal Array is");
		int[][] matrix = Cal.generateRandomMatrix(row,col);
		Cal.printMatrix(matrix);
//Addition of two matrix 
		int[][] matX = Cal.generateRandomMatrix(2,2);
		System.out.println("Matrix X:");
		Cal.printMatrix(matX);
		int[][] matY = Cal.generateRandomMatrix(2,2);
		System.out.println("Matrix y:");
		Cal.printMatrix(matY);
		int[][] sum = Cal.addMatrix(matX,matY);
		System.out.println("sum of matrix is");
		Cal.printMatrix(sum);
// 3x2 Matrix
        int[][] matA = {{2,5},{3,6},{5,8}};
		System.out.println("Matrix 3x2 is:");
         Cal.printMatrix(matA);	
// 2x3 Matrix
       int[][] matB = {{1,8,5},{3,6,4}};
		System.out.println("Matrix 2x3 is:");
		Cal.printMatrix(matB);	

		
		}
		}